const user = {
  state: {
    isLogin: false,
    userInfo: {}
  },
  mutations: {
    changeLoginStatus (state, bool) {
      state.isLogin = bool
    },
    changeUser (state, user) {
      state.userInfo = user
    }
  }
}

export default user
